package com.vcredit.creditcat.dto;

import java.io.Serializable;

import org.hibernate.validator.constraints.NotBlank;

public class CreditLoginDto implements Serializable{
	/**
	* @Fields serialVersionUID : (用一句话描述这个变量表示什么)
	*/
	private static final long serialVersionUID = 7593582814474848021L;
	@NotBlank(message="token不能为空!")
	private String token;
	private String username;
	private String password;
	private String vercode;
	private String identitycard;
	private String name;
	
	public CreditLoginDto() {
		super();
		
	}
	
	public CreditLoginDto(String token, String username, String password,
			String vercode, String identitycard, String name) {
		super();
		this.token = token;
		this.username = username;
		this.password = password;
		this.vercode = vercode;
		this.identitycard = identitycard;
		this.name = name;
	}

	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getVercode() {
		return vercode;
	}
	public void setVercode(String vercode) {
		this.vercode = vercode;
	}
	public String getIdentitycard() {
		return identitycard;
	}
	public void setIdentitycard(String identitycard) {
		this.identitycard = identitycard;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

}
